package com.tsingeye.viid.mapper;

import com.tsingeye.viid.domain.ViidMotorVehicle;
import com.tsingeye.viid.domain.ViidMotorVehicleRequest;

import java.util.List;

public interface ViidMotorVehicleMapper {

    /**
     * 批量新增机动车
     * @param motorVehicleObject 机动车列表
     * @return 返回
     */
    int insertBatch(List<ViidMotorVehicleRequest> motorVehicleObject);

    /**
     * 查询机动车信息列表
     *
     * @param viidMotorVehicle 机动车信息
     * @return 机动车信息集合
     */
    public List<ViidMotorVehicle> selectViidMotorVehicleList(ViidMotorVehicle viidMotorVehicle);


    /**
     * 批量删除机动车信息
     *
     * @param expireTimestamp
     * @return 结果
     */
    public int deleteViidMotorVehicleByDate(Long expireTimestamp);
}
